{% extends 'base.html' %}
{% load static %}
    {% block detail3 %}

    {% endblock detail3 %}
{% block body %}

    <div class="navbar_con">
        <div class="navbar clearfix">

            <div class="subnav_con fl">
                <h1>全部商品分类</h1>
                <span></span>
                <ul class="subnav">

                    <li><a href="/goods/list1_1_1" class="fruit">新鲜水果</a></li>
                    <li><a href="/goods/list2_1_1" class="seafood">海鲜水产</a></li>
                    <li><a href="/goods/list3_1_1" class="meet">猪牛羊肉</a></li>
                    <li><a href="/goods/list4_1_1" class="egg">禽类蛋品</a></li>
                    <li><a href="/goods/list5_1_1" class="vegetables">新鲜蔬菜</a></li>
                    <li><a href="/goods/list6_1_1" class="ice">速冻食品</a></li>
                </ul>
            </div>

            <ul class="navlist fl">
                <li><a href="/goods">首页</a></li>
                <li class="interval">|</li>
                <li><a href="">手机生鲜</a></li>
                <li class="interval">|</li>
                <li><a href="">抽奖</a></li>
            </ul>
        </div>
    </div>

    <div class="breadcrumb">
        <a href="/goods">全部分类</a>
        <span>></span>
        <a href="/goods/list{{typeid}}_1_1">{{goodType.ttitle}}</a>
        {% if isDetail %}
        <span>></span>
        <a href="#">商品详情</a>
        {% endif %}
    </div>
    {% block detail2 %}

    {% endblock detail2 %}

    {% block detail %}
    <!-- detail.html 中的 <div class="goods_detail_con clearfix"> -->
    {% endblock detail %}

    <div class="main_wrap clearfix">
		<div class="l_wrap fl clearfix">
			<div class="new_goods">
				<h3>新品推荐</h3>
				<ul>

					 {% for g in newgood %}
                    <li>
                        <a href="/goods/{{g.id}}"><img src="{{STATIC_URL}}{{g.gpic}}"></a>
                        <h4><a href="/goods/{{g.id}}">{{g.gtitle}}</a></h4>
                        <div class="prize">{{g.gprice}}</div>
                    </li>
                     {% empty %}
                    请移步到商品分类页面进行查看！
                     {% endfor %}


				</ul>
			</div>
		</div>

    {% block list%}
    <!-- <div class="r_wrap fr clearfix"> -->
    {% endblock list%}
    </div>
{% endblock body %}